<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
    <h:head>
        <title>Tienda</title>
    </h:head>
    <h:body>
        <p:layout fullPage="true">
            <p:layoutUnit id="topStore" position="north" size="80">
                <p:menubar>
                    <p:menuitem value="Mi perfil" url="#{menuNavManagedBean.miPerfil()}"/>
                    <p:menuitem value="Salir" url="#{loginManagedBean.delSession()}"/>
                </p:menubar>
            </p:layoutUnit>
            
            <p:layoutUnit id="leftStore" position="west" size="250" collapsible="false" header="FILTRAR" minSize="250">
                <h:form>
                    <p:panelMenu style="width: 290px">
                        <!-- <p:submenu label="Productos">
                            <p:menuitem value="Ver" actionListener="#{menuNavManagedBean.verProductos()}" update=":formCenter"/>
                            <p:menuitem value="Añadir" actionListener="#{menuNavManagedBean.addProductos()}" update=":formCenter"/>
                        </p:submenu>
                    
                        <p:submenu label="Ventas">
                            <p:menuitem value="Ver" actionListener="#{menuNavManagedBean.verVentas()}" update=":formCenter"/>                        
                        </p:submenu>
                    
                        <p:submenu label="Administradores">
                            <p:menuitem value="Ver" actionListener="#{menuNavManagedBean.verAdmins()}" update=":formCenter"/>                        
                        </p:submenu> -->                   
                    </p:panelMenu>                
                </h:form>
            </p:layoutUnit>
            
            <p:layoutUnit id="rightStore" position="east" size="350" collapsible="true" header="CARRITO DE COMPRA" minSize="350">
                <h:form id="formRightStore">
                    <!-- <ui:include src="#{menuNavManagedBean.seccion}" /> -->
                </h:form>               
            </p:layoutUnit>
            
            <p:layoutUnit id="centerStore" position="center">
                <h:form id="formCenterStore">
                    <!-- <ui:include src="#{menuNavManagedBean.seccion}" /> -->
                </h:form>               
            </p:layoutUnit>
        </p:layout>
    </h:body>
</html>